﻿$(document).ready(function () {
	resizeContent ();
});

$(window).resize (function (e) {
	resizeContent ();
});

function resizeContent ()
{
	var w = $(document).width () - 20;
	var h = $(document).height () - 50;
	$('#header').width (w);
	$('#mainContent').width (w - 193);
	$('#mainContentTitle').width (w - 201);
	$('#mainContent').height (h - 28);
	$('#contentsTree').height (h - 36);
}